Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add black & isort pre-commit hooks #41

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

jordan-gillard
Copy link
Contributor

@jordan-gillard jordan-gillard commented Sep 8, 2024

This pull request adds pre-commit hooks to run the black formatter and isort import sorting tool on every Git commit. This will help us keep files nicely formatted + devs wont have to remember to always run these commands. This PR also runs black and isort against all existing Python files.

This PR also updates the README to instruct devs to run poetry run pre-commit install. Devs using a Codespace don't need to do anything.

@GalenReich GalenReich self-requested a review September 18, 2024 17:25
@GalenReich GalenReich merged commit b993491 into bellingcat:main Sep 18, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants